package com.xlh.service.conclude;

import com.xlh.dto.conclude.BusiFullMarkDTO;
import com.xlh.dto.conclude.BusiFullMarkExceedDTO;
import com.xlh.support.attendance.po.SettingMarkPO;

import java.util.List;
import java.util.function.Function;

/**
 * @author sy
 * 对于系统关联的满分项设置
 *  满分项 对象
 */
public interface ConcludeBusiFullMarkService {


    /**
     * 对于满分项的设置
     * @param settingMarkPO
     */
    void settingFullMark(SettingMarkPO settingMarkPO, Function<SettingMarkPO, List<BusiFullMarkDTO>> function);


    /**
     * 是否超过满分项
     * @param settingMarkPO
     * @param score 设置满分项分值
     */
    BusiFullMarkExceedDTO isExceedFullMark(SettingMarkPO settingMarkPO, Integer score);




}
